Green and purple bacteria; energy for growth is derived from sunlight; carbon is derived from carbon dioxide or organic carbon